package com.sf.admin.service.impl;

import com.sf.admin.mapper.DbMapper;
import com.sf.admin.service.DbService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DbServiceImpl implements DbService {

	@Autowired
	private DbMapper dbMapper;

	@Override
	public String getDbVersion() {
		String dbVersion = dbMapper.getDBVersion();
		return dbVersion;
	}
}
